package com.example.lvsuo.service.impl;

import com.example.lvsuo.entity.vo.xzhvo.CwInvoiceVo;
import com.example.lvsuo.service.ICwInvoiceService;
import com.example.lvsuo.entity.CwInvoice;
import com.example.lvsuo.mapper.CwInvoiceMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 心心念念
 * @since 2021-03-30
 */
@Service
public class CwInvoiceServiceImpl extends ServiceImpl<CwInvoiceMapper, CwInvoice> implements ICwInvoiceService {

    @Override
    public Long add(CwInvoice cwInvoice) {
        return this.baseMapper.add(cwInvoice);
    }

    @Override
    public List<CwInvoiceVo> getlist(Long id) {
        return this.baseMapper.getlist(id);
    }

    @Override
    public List<CwInvoiceVo> lists(CwInvoiceVo cwInvoiceVo) {
        return this.baseMapper.lists(cwInvoiceVo);
    }
}
